package com.situ.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.situ.ssm.entity.Student;
import com.situ.ssm.vo.StudentSearchCondition;

public interface IStudentDao {

	public List<Student> list();

	public Integer insert(Student student);

	public Integer deleteById(Integer id);

	public Student findById(Integer id);

	public Integer update(Student student);

	public Integer deleteAll(String[] selectIds);

	public int getTotalCount(StudentSearchCondition condition);
	public List<Student> findPageBeanListByCondition(@Param("condition")StudentSearchCondition condition, @Param("offset")Integer offset);

	public List<Student> oneVoneList();

	
}
